package com.wangx.entity;

import java.io.Serializable;
import java.util.Date;


public class User implements Serializable {
    private Integer id;
    private String name;
    private String password;
    private String status;
    private Date regtime;
    private String role;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", status='" + status + '\'' +
                ", regtime=" + regtime +
                ", role='" + role + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getRegtime() {
        return regtime;
    }

    public void setRegtime(Date regtime) {
        this.regtime = regtime;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public User() {
    }

    public User(Integer id, String name, String password, String status, Date regtime, String role) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.status = status;
        this.regtime = regtime;
        this.role = role;
    }
}
